package com.demo.kyc.model;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author wangfengchen
 * <a href="https://docs.sumsub.com/docs/webhooks#verify-webhook-sender">https://docs.sumsub.com/docs/webhooks#verify-webhook-sender</a>
 * <a href="https://docs.sumsub.com/docs/user-verification-webhooks#applicantactionpending">https://docs.sumsub.com/docs/user-verification-webhooks#applicantactionpending</a>
 */
@Data
public class WebHookResult {

  /**
   * 唯一的申请人标识符
   */
  private String applicantId;
  /**
   * 唯一的检查标识符
   */
  private String inspectionId;
  /**
   * 事件的唯一标识符
   */
  private String correlationId;
  /**
   * 验证级别名称
   */
  private String levelName;
  /**
   * 您这边的唯一用户标识符
   */
  private String externalUserId;
  /**
   * Webhook 类型
   */
  private String type;
  /**
   * 设置如果 webhook 是从Sandbox发送的， True
   */
  private Boolean sandboxMode;
  /**
   * 当前申请人状态
   */
  private String reviewStatus;
  /**
   * 创建 webhook 的日期和时间（格式yyyy-MM-dd HH:mm:ss.fff ，例如 2021-05-14 16:00:25.032）以 UTC 格式表示。
   */
  private Date createdAtMs;
  /**
   * The applicant type (company) or (individual)
   */
  private String applicantType;
  /**
   * 包含有关申请人验证结果的额外信息的字段
   */
  private ReviewResult reviewResult;
  /**
   * Contains the list of company applicantIds to which the current applicant belongs as a beneficiary.
   */
  private List<Object> applicantMemberOf;
  /**
   * VideoIdent调用的状态
   */
  private String videoIdentReviewStatus;
  /**
   * 唯一的申请人操作标识符
   */
  private String applicantActionId;
  /**
   * 您这边唯一的申请人操作标识符
   */
  private String externalApplicantActionId;
  /**
   * 您作为我们客户的唯一标识符
   */
  private String clientId;


}
